There is currently no indication that Muslim UCLA shooter Mainak Sarkar had any terrorist motives. Though his note has as yet of to be released. But of somewhat more interest is the question of why Sarkar was misidentified as a "white male".
One of the more obvious things about Maniak Sarkar is that he is not a white male. He can't be mistaken for a white male. But media coverage has prompted people to expect white male shooters.
It's a type of prejudice that we don't much talk about because it's a politically correct prejudice. It's a prejudice encouraged by the media. While Muslims certainly dominate terror statistics, there have been Muslim mass shooters carrying out attacks unrelated to terrorism.
The most prominent of these was the École Polytechnique Massacre carried out by a man popularly known as Marc Lepine, whose real name was Gamil Rodrigue Liass Gharbi. Gharbi shot nine women. Like Sarkar, the rationale was some combination of personal derangement and hostility toward women and people he blamed for his failures.
And yet Lepine continues to be misidentified in ways that lead people to assume that he was another white male shooter. Much like Sarkar was misidentified as a white male.
Beyond the obvious derangement of Islamic terrorism, Muslim societies are destabilized in ways that help spur violence even down the road among second generation immigrants. And yet the media is far more comfortable maintaining the stereotype of the white male shooter.