My opinion...YES - the sudden change of temperature is caused by a front moving through...which usually means a change in the barometric pressure.
YUCK...YUCK...YUCK I hate weather-inflicted headaches. They are just downright nasty.
Hope you are feeling better soon!