If by “when asked” you mean “given a search warrant with very clear evidence that this man had stolen a car”, then… Yes? I’m not sure what you’re trying to prove here.
The ex-boyfriend had signed into the guy’s phone. It’s not like the police just cast a wide net and randomly got his data.
The government had a warrant, read the article.
It’s just made confusing by the fact that the thief had signed into the victim’s phone, so it makes for a good clickbait story “police got the wrong guy’s data”