Sure, I can see that.
I'm not an expert on Pakistan. But I know how Iran, Iraq, Muslim and Islam are properly pronounced and rarely do I meet Americans who pronounce any of those words correctly. I don't care if they have an MBA, or a JD, or an MD, or a PhD in whatever. If they're pronouncing it incorrectly, those education degrees don't justify it.
How do I know how to pronounce those words? I read them in Arabic. I listen to Arabs say them. It's not difficult.
However, to your overall point, I get the annoyance in changing your accent for a word and then switching back. I don't think it's always a matter of an accent though.