Can you solve these physics riddles? ft Simone Giertz - Part 1/3

Thanks for the pedal resource, Dianna. I've been a cyclist for over 40 years and I've always wondered that. Now I have a another question for you: When a permanent magnet attracts and holds a piece of iron up say against the gravitational pull of earth. Where does the energy come from? If it's an electromagnet, the iron will fall when I turn off the electrical power. But what gives a permanent magnet the power to seemingly do it indefinitely? Does the magnet start to lose it's microscopic domains individually, one by one, until the iron falls. Does it "spend it's magnetism" over time depending on how much work it is doing? Something must power the field. Your thoughts are welcome. Thanks, Tom