I think that’s the point. Rather, it’s to prevent unwanted lines of succession and make it clear who is part of the main family and who isn’t. Basically by blood, they are his children but legally, they aren’t.
The elves did say they were worried if their kids were boys since they didn‘t want...