Even if it was a Ukrainian missile the reason it was fired was because of the Russian invasion. Firing a missile in defence and accidentally hurting someone is much more forgivable.
The Kherson, Zaporizhzhia, Luhansk and Donetsk autonomous regions have high percentages of ethnic Russians and voted for Russian sovereignty. In Donetsk 99.2% voted for Russian sovereignty.