She has a cold and is staying home from school.

Literal

She [topic-は] cold [object-を] caught, school [object-を] is-resting.

学校を休む ('to be absent from school,' literally 'to rest school') uses を to mark the institution being taken a break from.