If you have a gun, that’s when you most need it. So why on earth would a state pass a law making concealed carry permit holders criminals if they carry during emergencies?

There is no logic to it. Unless they want people unable to be especially unable defend their lives and property during emergencies.