Yeah, it's happened to me twice lately and irritated the hell out of me! I thought it had something to do with how I put the pump on/took it off. I consulted my engineer spouse, who advised me to hold the tire above the valve with one hand so I could have more leverage in guiding the pump on and off straight. I think that will help.
"My predominant feeling is one of gratitude. I have loved and been loved;I have been given much and I have given something in return...Above all, I have been a sentient being, a thinking animal, on this beautiful planet, and that in itself has been an enormous privilege and an adventure." O. Sacks