These statements are statements of kufr. If he didn’t mean it, he has committed a minor kufr.

If someone says holy crap or holy shit (both of which are swear words, so I’m sorry to mention them but I need to know the answer) are these statements of kufr? Even though they are just said to express amazement.