It's all part of the MCU now breh
They were in negotiations with Dunst to show her and Tobey back together with a family in their universe. Thats the happy ending im referencing. The Spider-man you are referencing lost MJ years prior because she wanted a kid and he didnt.