Testis is very sensitive organ.
It will be painful due to slight trauma.
Because of tight dress,the testis might got injured and lead to swelling.
Consult a surgeon and get an ultrasound scrotum
Pain from the testis can go to the abdomen.
If you come back with ultrasound sctotum i will clarify further