Normal poop

So my little one hasn’t pooped in 24 hrs and was super cranky and fussy off and on all day. I have him 5 ml of gripe water this morning and then 5 ml of gripe water again this afternoon. He finally pooped 2x in less than 20 minutes but the 1st poop was dark green and thick/hard. And the 2nd was more of a green paste. Is this normal?

1st

2nd