# How thermochromism happen?

I learned that when $PbO$ is hot, it is orange. When $PbO$ is cold, it is yellow. I know this's called thermochromism. But how do that happen? Is it because the ions inside doing something?