Men taking the woman's last name in marriage isn't that uncommon in Japan, so her having the same surname as Souta but calling the "husband" Miyamura probably didn't really phase the kid in his delusion that they're the parents, and that their relationship is now so bad that they use different last names for each other again.