It’s fine to generalize about Muslims if it’s in the area of “Muslims generally believe in only one god” or “Muslims generally don’t believe in icons or statues of the divine”.
But the issue isn’t theology, it’s politics. “Conservatives generally believe in cutting taxes, especially if they are income or property taxes”, “Conservatives generally want welfare support (aka “the dole”) to be minimal, if at all.” I can’t generalize about the politics of Muslims in that way. There are Muslims who are left, right and center. Ta-da, the difference. HTH.