Credit Enhancements and the Like

I’m not sure why there’s a distinction between credit enhancements, collateral and covenants?

Isn’t the point of all three of these to improve credit risk?