
still a valid quastion. But since the manga won't go as far as to that situation, ut will always remain a "what if...?" scenatio.
My guess would be the body would change into kind of a omega-body like in omega-verse where men also have a uterus and can get pregnant. So the fetus would stay and wouldn't be harmed.
If the fetus would disappear, the next question would be - would it come back when switching back?
Could you skip unpleasant parts of pregnancy? XD

I'm an avid gender bender reader for many years now and have never encountered a manga were they lose the baby because of gender change( or maybe I just don't remember, I guess authors don't like to portray miscarriages)( the author of Ranma 1/2 when asked if Ranma could get pregnant said"I don't think about that and neither should you), like the comments above they usually are unable to change when pregnant https://www.mangago.zone/read-manga/futaba_kun_change/mf/v01/c002/13
https://www.mangago.zone/read-manga/futaba_kun_change/mf/v02/c004/8 and sometimes they are also unable to change when menstruating. https://www.mangago.zone/read-manga/futaba_kun_change/mf/v05/c004/30
Feeding the baby milk on the other hand it's no problem.
And example of gender change while pregnant https://www.mangago.zone/read-manga/boku_to_kanojo_no_xxx_bangaihen/nhs/mpn_chapter-2129645/pg-24/
I have one question
So if mc can switch genders by kissing or maybe someone can switch genders at anytime, what if they are pregnant and like they switch genders. Does the fetus disappear or it will still be there after switching back