condom heating up during sex???

Olivia
I’m a virgin so I have zero experience nor have I heard of this before but a friend of mine told me that sometimes sex was uncomfortable for her because the condom would heat up during sex and it would sting. Is this an actual thing that i missed or is there something wrong to what she and her partner were doing?