Question: why idolatry is a sin?
Answer: Idolatry, in Christian theology, is the worship of a creature rather than worshipping the creator. Sin, in Christian theology, is falling short of the glory of God. Ascribing the glory due to God to something created is to fall short of the glory of God, and is therefore a sin.