Don’t know why I cannot perfect onions in fried potatoes
Are you channeling your best self with this comment? (If you're not sure, check out our Code of Conduct.)
Because onions cook faster. They give up their moisture more readily than potatoes (especially if salted), and will burn once it's gone. In any mixed recipe, sequencing of ingredients is a large part of the art.