Poland is bordered by Lithuania and Russia to the northeast, Belarus and Ukraine to the east, Slovakia and the Czech Republic to the south, and Germany to the west.
Romania does border Ukraine, however if you were to travel from Ukraine to Romania the best route is actually through Slovakia and Hungary.
Also before the WWII, the Second Polish Republic shared a border with the Kingdom of Romania. Before the partitions in late 18th century, Polish-Lithuanian Commonwealth overlapped with some territories making up modern day Romania and Moldova and the Principality of Moldavia was a vassal of Poland and PLC for a time.
This is to say it is reasonable to imply Poland's close proximity with Romania, both in geographical and cultural sense, even though the borders have shifted.
[1] - https://dalekieobserwacje.eu/rumunia-widziana-z-tarnicy-most...