The Ukrainian govt recently formed a state-run church, and seized all Orthodox churches.
Each parish decides which church it belong to.
https://www.pbs.org/newshour/show/russias-war-in-ukraine-leads-to-historic-split-in-the-orthodox-church