because in japan, onsen are public (and sometimes private) baths that are usually shared with family members, close friends, lovers etc.
and one of the requirements is that once you are in the water, you can't wear anything (but you are allowed towels on the outskirts of the bath)