Possibly from the amount of fluid you have taken in whilst swimming. The fluid gives more energy, but if you've drank too much at 1 point, then it's most likely to head down to the bladder soon.
Chat with our AI personalities
You're likely swallowing more water than you think while swimming, so that's why you have to go.