Universities can advise students to stay home when they are sick all they want but if professors are requiring attendance, penalizing absences, and/or expecting students to do work while sick, that messaging is basically meaningless. And students know it.
A wise lawyer named Elle Woods once pointed out that every ejaculation not seeking an egg could be considered reckless abandonment and I just think maybe Texas should take a look at that one