Why would a nursing home case got to court?

Why would a nursing home case got to court?