She had an unfriendly attitude.

Literal

She [topic-は] unfriendly attitude was.

非友好的 uses the prefix 非 ('non-') + 友好的 ('friendly') — a formal, written-register expression.