Presumably because they tend to be longer/bigger to accommodate extra space, and the most efficient place to put a larger stall is at the end of the room. (It would be in the way if it were in the middle.)
Why are handicapped bathroom stalls always built at the end of the restroom?