Horrible situation

My situation with the father of my child just went from ok to none existent. He came to the dr appointment Wednesday and ask for a pic of our baby Thursday. Friday I found out he got married last Saturday! I'm just over it all! I was dealing with him on and off for 5 years I found out he has been engaged for 3 years. And in between that time he has stayed with me briefly spent nights and has named our baby and wants her to have his last name. Now that his wife and patents know he is not claiming our baby! I'm not upset about his marriage just why say you won't abandon your child then deny her when skeletons come out your closet. Arguing eith him for months has caused me stress and I feel horrible for stressing out my baby my anxiety had completely took over me