If they can do so in believable English, yes. The law isn't required to always make it easier for police to do their jobs. It's the price you have to pay for living in an allegedly free country.
I am happy for presumption of innocence but showing ID is not a tremendous burden and assuming that if you don’t speak English well you are not here legally is offensive to me.
The law are indeed a compromise between allowing the police to maintain the law and allowing us each to retain individual freedoms. Its a seesaw not an either or and in this case it has gotten warped. We need to show ID to make a credit card purchase, enter many buildings, sign up for gyms, pick up orders, movie tickets etc. Showing one to a police officer is not an insult but protesting it as a way of seeming cool or tuned in is making the story about you instead of about keeping us all safer. Show it & move along and thank the officer.