In the same way that math is.
Ethics are an abstraction that reflect the realities of entity interaction. The reason these abstractions are useful is the same reason that numbers are useful as an abstraction that represents quantities of objects.
The tie of ethics to reality isn't as easy to see as numbers, but when you realize that ethics are practical and evolved as a survival mechanism, maybe you can begin to see the connection.