If he was fully awake and aware of what he was doing when he punched the pillow, this is serious. He chose to channel a rage and frustration into an aggressive physical act. This can escalate, until it's no longer only the pillow.
So why did he do it.
Snoring can reach incredible volume.
Sleep deprivation, including with loud noise, is a form of torture. He may have finally reached the end of his tether with it, and cracked.
Snoring can be caused by medical conditions, and can be treated. Is it getting worse?
So what have you done so far to make it stop?
If nothing so far, time to take action and get it investigated.
How has he been today? Guilty, shocked at himself, apologetic? Or sullen, silent, guess what's wrong? How he's behaved today will be significant.
Also ask yourself is this an isolated one off? Or is this part of a developing pattern of behaviour?
Has he been off, different recently, more critical of you, bad tempered, sulky, short fused? This can indicate something else is going on. That he may be withdrawing from you, no longer bothering to be good to you because he's now looking elsewhere. Sadly, this is often reported by women whose husbands' heads have been turned.
If he's actually previously been aggressive and violent, though - get out.