I want to add: The guy dressed like active russian soldiers and he never had outward signs identifying him as press. The vehicles he drove in on the frontline were those of the russian army, so again no markings of being press. Thus Ukraine attacked some Russian soldiers, one of which happened to be an embedded war journalist. Afaik, Ukraine did not actively seek out or target a journalist.
This attack by Ukraine is not the same thing as the Israeli or Russian army targeting journalists. If a journalist clearly marked themselves or their vehicle as journalists, then they were more likely to be attacked by the Israeli/Russian army than if they hadn't. Russia has even been using guided missiles to target hotels because foreign press was staying there. And given that Russia actively targeted journalists, that might be an explanation as to why this russian propagandist did not mark himself as a journalist, but imo it's more likely that he just liked cosplaying as one of the boys.