score:3
I presume your actual concern is missing a connecting flight, since it's quite unusual for an airport to shut down completely: usually they keep operating, just at lower capacity.
If so, you're probably better off with Denver, since on average it has both fewer delays for arriving flights and shorter delays for departing flights than Chicago O'Hare.
https://www.visualcapitalist.com/visualizing-the-u-s-airports-with-the-worst-flight-delays/