what's the significance of this distinction?
They’re....close but it isn’t the same.
In case you were asking literally: security are the people that make you throw out liquids due to bomb threats and check for weapons. Customs see you after the plane across a border and check that you didn’t bring anything that requires payment of border tax. If you do, they will make you pay the tax at the border before entry.