Doors generally open outward on public buildings as a precaution against fire.
If dozens of people have to rush for the exit, they won’t have to fight to pull the door inward against the crush.
The exceptions are those institutions fearing robbery, which have doors opening inward to delay the getaway.
Like the doors of your house and home, it is to keep the hinges on the inside so that burglars can’t simply remove the door to get in.