The big difference is that care homes are full of very old, very ill people - an incredibly high risk group in normal circumstances, let alone in a pandemic.
That’s not reflective of a school population (again speaking generally / not children living with grandparents / immunosupressed etc)