Why Was God Made Sin? (2 Corinthians 5:21)

The Apostle Paul uses this strange language that Christ was made sin. How can a holy God be made sin? Is the Apostle Paul just trying to shock us for no reason? Is Paul laying out some sort of heresy? What can the Apostle possibly mean by this language?