Most Helpful Guy
Your friends are partially right. Your problem is that you're putting up with your bullshit. You basically have to lay it out like this:
"I want you to be part of this family. If you come back to me, I expect you to be committed to me an our child. Do not call me again until you have figured out what you want, but know that I'm not waiting around indefinitely for you".
Most Helpful Girl
He probably has a ulterior motive