Iran is providing military tech, drones, and training to Russia to support their invasion of Ukraine, since 2022. Iranian ships in the Caspian Sea are transporting weapons to Russia that will then rain down on Ukrainian cities, killing civilians. They are absolutely a valid military target.