Can I ask how you are determining if a state trends one way or another? From 2012 to 2016, the Democrats' share of the vote dropped by 2.2% and the Republican margin of victory increased by 1.6% in North Carolina. I don't see how that is "trending Democratic", so I'm assuming you are measuring this in some other way.
Trends factor in the national swing with how the individual states shifted.
So from 2012-2016 the national popular vote went from Obama +3.86 to Clinton +2.06. The nation as a whole swung 1.8 points Republican.
North Carolina went from Romney +3.66 to Trump+2.04. North Carolina swung only 1.62 points more Republican.
Hence why North Carolina trended Democrat. The state may have swung Republican from 2012-2016, but not to the extent the entire nation did.