There is a federal regulation requiring buses to do this.
Except as provided in paragraph (b) of this section, the driver of a commercial motor vehicle specified in paragraphs (a) (1) through (6) of this section shall not cross a railroad track or tracks at grade unless he/she first: Stops the commercial motor vehicle within 50 feet of, and not closer than 15 feet to, the tracks; thereafter listens and looks in each direction along the tracks for an approaching train; and ascertains that no train is approaching. When it is safe to do so, the driver may drive the commercial motor vehicle across the tracks in a gear that permits the commercial motor vehicle to complete the crossing without a change of gears. The driver must not shift gears while crossing the tracks.
(1) Every bus transporting passengers, [...]
The idea, presumably, is that a train hitting a bus would cause much greater loss of life than if it hit a car, so extra precautions are warranted.