This tends to happen when bathrooms have been remodelled at some point.
Originally there may have been two separate openings, and during a refit one was either reduced, internally covered, or partially infilled. Sometimes installers leave the external frame in place but insulate and board...