Committing crimes doesn't mean that someone is immoral or doesn't care about someone. Most crimes happen in the heat of the moment, when someone is very emotionally dysregulated.
Getting deeply, irrationally and obsessively upset about things that might seem random and pointless is a very common trait associated with Autism. Crimes can happen when someone is in that state. Doesn't mean that their surroundings didn't fail them, but there also is a factor of personal responsibility.
I wouldn't say that the simplified "Crime because of Autism" is a very nuanced way to see it, but I do believe that some traits of Autism could lead to a higher chance to commit some crimes 🤷 But honestly, most mental illnesses and neurodivergencies are like that.