My babies poop

Leslie

My baby girl is 2 month old and I noticed today that she is having hard time pooping. I just recently changed formula to Enfamil Infant Formula (Gentlese). She was doing fine but not she seem to be strained and her poop is coming out a olive green and the consistency feels like clay. Not sure what to? Could it be the formula?