The irregularities of the walls can create entire holes between the bathroom and the wall, where the water will run during bathing.
You can close them using sealant and plastic skirting boards, which will not only protect the tile and floor from the water, but also create a certain design.