J.B.
The warm water is relaxing, think about it, it is for us as well. He feels comfortable and, well... there you go.
Maybe after he's sitting there for a few minutes, move him to the potty chair or toilet. Then let him finish his bath. A little repetition and he'll catch on. Good luck.