Ukraine wasn't a distinct state then. There were many many factors involved [0]
[0] https://en.wikipedia.org/wiki/Causes_of_World_War_II
That has no relevance.