She couldn't come because of illness.

Literal

She [topic-は] illness [because of-のため] couldn't-come.

~のため marks the cause. 来られなかった is the potential negative of 来る — 'was unable to come.'