I can say with certainty that jockstraps are used to keep the balls from chaffing your thighs.
i had this problem a few times while running and wearing boxers. It hurts VERY badly. It is pretty much the same thing as diaper rash. I had it so bad once that I couldn’t run for a few days.