Given the state of the buildings, I suspect the whole damn school (if not city) got bombed, but the faculty's ghosts decided to continue educating the student spirit (as in bodiless "student body") so they can haunt/educate any survivors and hopefully prevent them from falling into barbarism..