Splashes and wet hands are much riskier for receptacles than for a permanent and/or hidden connection. Not to mention hairdriers, space heaters, TVs etc falling into the bath. Pretty much everything smaller than a washing machine is bound to end up in there if the flex is long enough