After the War in the Pacific,
McArthur the puritan american dictator
forbade the mixed males and females public bathes
Because of immorality.
(based on US moral criterions of course)
To be honest, the move was started
at the time of the Meiji Restauration,
Japan trying to imitate
the victorian England.