Snorting in a dog is usually due to sneezing. However we have a Husky that snorts when a stranger comes very close. She is not snorting due to something in her nose. She snorts to intimidate intuders. This is hilarious to us, but people really think we have a pet pig.
Sounds pretty interesting. I've never heard of that before, but it could be some sort of learned behavior. It may be wise to snap her out of it, and redirect her attention before it turns into a bite.
My corgi pup does this when he's impatient lol... Like if I'm holding him for something such as to brush him or clip his nails, etc. It's like his "I don't want to wait for this" noise lmfao... I pretty much ignore it, but his doesn't have anything to do with protectiveness.