Why is there an American flag in Episcopal Churches?

Almost every Episcopal Church I’ve been to has one. I’ve noticed a couple of other mainline denominations do not have this, and I don’t think the Roman Catholics do. Does anyone know the reason for the flag in the church?