Question: why are ned and peter the same age?
Answer: So when [SPOILERS SPOILERS SPOILERS] hulk , snapped again to bring back the dead , Ned was also back from the soul stone. This made him again to be at the same age as he was when decimated. In short form, because they never graduated. Or aged.