When I was in high school, one of my classmates discovered that if he tried to spin his class ring like a top on a table with the setting---the heavy side---on bottom, it would invariably flip itself over to spin with the setting on top. Then it was stable until it stopped and fell over. Why?