There are lots of reasons for this which the YouTuber Caspian Report covers well [0][1]. In short, it's to strengthen their warm water port access; Ukraine being relatively flat so making sure they control the lands up to the natural border of the Carpathian mountains lest NATO invades; et cetera.