Bathroom Stall Gap

Why do some public bathrooms have a 1-2 inch gap between the stall door and stall frame ?????

Anyone walking by can get an eyeful of you squatting on the toilet

Seriously, WTF is up with that?!

The worst was years ago in a shopping plaza, don’t remember where, there were no doors on any of the stalls at all. WHAT!!!???

That was a hard pass for me, I just had to hold it until I could find some half decent facilities

Is this a men’s room issue or do women’s bathrooms also have a gap problem?