It runs in your jeans.
Explanation: This joke relies on the double meaning of “runs.” While “runs in your jeans” refers to something being passed down through generations (as in “hereditary”), it also humorously implies that diarrhea, a condition involving frequent bathroom trips, literally “runs” in your pants (jeans). The play on words creates the punchline.