The association of Muslims with terrorists started in the 1970s, and other bad news coming out of the Middle East (Khomeini, Saddam Hussein, the fatwa against Salman Rushdie,...) only made these ideas more widespread.
Combine this with the rise of Muslim immigrants in Western countries around the same time and its becomes more clear why both the jokes themselves and the caution to make them have risen.
It should come as no surprise then that whenever a Western artist is in need of a villainous character with at least somewhat exotic background but isn't willing to risk being called out on racism or another prejudice, casting a Slav in the role is pretty much their safest bet. The French Portrayed as snooty, arrogant, drinking too much wine, and having bad hygiene. Unfortunately, after the Paris terrorist attacks of November 13, 2015 (and to a lesser extent the Germans World War II ended over seventy years ago, but the occasional German or German-American is portrayed with Nazi-esque (or even Imperial Prussian-style) mannerisms, if not portrayed as an outright villain.
Plus the fact that young Filipino boys are now seen as a kind of catch-all for what gay men are supposed to be into. Or when done by other black people for the sake of comedy.
Racism against blacks in the media is generally considered unacceptable in contemporary America, and receives more attention than racism against any other group for various reasons.
In much of Asia, depressingly, black people are Boers/Afrikaners During the 1980s era when international revulsion against Apartheid was at its height, there was a brief tendency in British and American works to have white South Africans, especially Afrikaners, turning up as villains, even in stories with nothing particularly to do with South Africa.
If they weren't the Big Bad, they were usually Psychos For Hire, and visually portrayed in a manner bordering on that of the Evil Albino (which isn't even accurate, since many Boers have fairly swarthy complexions from having lived for centuries in a semitropical climate).
While they brought various interesting and popular foods with them (the doner kebab wrapped to eat it while walking was actually invented by a Turk in Berlin), that is also mostly seen as their only contribution.
A couple popular Turks made it into high military positions and are respected, while others made it on television.Also look out for all the wind mills in their country.Arabs Except, ironically, just after the 9/11 attack (then again it was sadly a case of swapping one stereotype [obnoxious and/or oil tycoons] for another [zealous terrorists]).He has absolutely no taste whatsoever." Even before that, they were stereotyped as thieves, plunderers, and rogues, and the phrase "You cheating Arab!" (now confined to period pieces and racist grandparents) was a British idiom for someone having an unreasonable run of good luck at a game of chance.They also like to assert themselves as the true Americans and call other Americans intruders.