What is Hastmaithun?
the act of holding the external male genetilia (penis) firmly and acquiring to and fro motion to release a gelatinous white feminine attracting fluid
his pants seem to be partially wet and partially stiff , he must have been doing "hastmaithun"
See masturbation, vibration