If you are over the age of 40 and sometimes rarely occurs under 40, its likely that you have a quite normal age related change in your eyes which is known to cause nighttime driving glare and halos. Its caused by posterior subcapsular cataract development. As the cataract develops the effects on your vision change. If you have diabetes then this will accelerate cataract development. Also diabetes or more specifically sorry peeps of very high blood sugar levels can cause transient refractive changes in your eyes that make things temporarily blurry and fasting can improve that as the sugar levels drop to normal.