Bathroom stalls typically have gaps for a few reasons. First, the gaps allow for ventilation, which is important in preventing the spread of bacteria and other airborne contaminants. Second, the gaps provide some privacy for users while still allowing them to see if someone is coming into the stall. Finally, the gaps allow people to check if the stall is clean before entering it.