Complex products built by the millions have an occasional lemon.
Did you go to Apple about it?
This was the fourth or fifth time the thing had done this and Apple's normal mode of operation is to have the customer make an appointment to be seen two or three days hence and I simply cannot afford to be off the air for two or three days at a stretch on that regular a basis. Previously I'd been able to fix the headphone-hole thing with compressed air and/or by using speaker phone until the problem went away, this time that did not work. The one experience I'd had taking the phone back to Apple was for a dead battery.