Where does “صَنَم” come from?

Words derived from “صَنَم