It can be due to abdominal distention, irritable bowel syndrome, pancreatitis, inguinal hernia,
kidney stones,or just anxiety that caused
pain in testicle as your husband was a bit nervous with his pain in abdomen.
Request-Im not to threaten you with all of these scary medical terms but abdominal pain in all of these cases must be associated with other symptoms like nausea, vomiting,diarrhea,long lasting pain,blood in stools and lot more.