The baby spat out the pacifier from his mouth in protest.
ご質問ありがとうございます。
"The baby spat out"=「赤ん坊はペッと吐き出した」
"the pacifier"=「おしゃぶりを」
"from his mouth"=「彼の口から」
"in protest."=「反抗して。」
Example in context: "I bought my baby a new pacifier, but it seems he didn't like it. He spat it out in protest."
ご参考になると良いです!