Thank you for the query and welcome to HCM.
U mentioned that you have been having flem, so probably you must be having some chest infection
which might be recovering. So probably what you exprecienced was because of dry throat and the upper airway.
You could try taking some steam inhalations atleast two to three times a day.
If it is a dry cough
then it should settle with this. If it doesn't and you are still having such spells, then I suggest you go for a chest xray and then follow up with us.
What issues do you have with your c spine?