If you want the EU to not be hostile, you need to mend relations with them. It’s not such a difficult concept to gasp.
As long as Turkey has military in Northern Cyprus, it basically occupies land of a EU country. This is detrimental to Turkey‘s national security, because it keeps the door open...