My friend’s partner is pregnant, but she’s married to another man. Is he financially responsible?

“She claimed her husband was cheating on her and stopped paying their mortgage.”