This question already has an answer here:
How do I change the equation numbering to appear in the right, instead of the left default side in Lyx?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
You must be loading a package that provides this numbering alignment as the default option. You can pass packages to the document class which should override the options. Under Document > Settings... > Document Class add the custom option
Note that the settings may not be adequately reflecting the visual representation in LyX.