Barring getting more information about the person himself, I can certainly see a good reason why a Ukrainian from Eastern Galicia might have found themselves in that situation in late 1922.
In 1918, Western Galicia became a part of the restored Republic of
Poland, which absorbed the Lemko-Rusyn Republic. The local Ukrainian
population briefly declared the independence of Eastern Galicia as the
"West Ukrainian People's Republic". During the Polish-Soviet War the Soviets tried to establish the puppet-state of the Galician SSR in East Galicia, the government of which after a couple of months was liquidated.
The fate of Galicia was settled by the Peace of Riga on 18 March 1921,
attributing Galicia to the Second Polish Republic. Although never
accepted as legitimate by some Ukrainians, it was decided by the
Conference of Ambassadors on 14 March 1923 and internationally
recognized on 15 May 1923.
What this glosses over is that the independent state the Ukrainians tried to set up got caught in the middle of of the Ukrainian-Soviet war, then the Russian Civil war, then the Polish-Soviet war, all in this one 5-year period. Both (or all three?) sides captured the area at various points. The Poles got to keep them in their peace settlement with the Soviets.