Best biological explanation I’ve found so far on the urgency of peeing underwater:  https://www.scubapro.com/media/272210/hrmbooklet-eng.pdf

Two pages of a Scubapro booklet on heart rate, with a diagram of venous blood shifting to the chest of a submerged body and one sentence highlighted: this affects the cardiac output and leads to an increased urine production