In Euthyphro, Socrates asks his young interlocutor: “is the pious being loved by the gods because it is pious, or is it pious because it is being loved by the gods?” How do you understand this question?

In Euthyphro, Socrates asks his young interlocutor: “is the pious being loved by the gods because it is pious, or is it pious because it is being loved by the gods?” How do you understand this question? Reformulate the same question in such a form that it applies not only to ethical (and religious) but also to theoretical (scientific) concepts.