Why does my heel hurt first thing in the morning?

As you sleep your body relaxes and the tendons of the foot and ankle shorten.  If there is any trauma in these tissues they heal overnight in the shortened position.  As you wake up in the morning and stretch these tendons to there longest position the parts of the tissue that healed overnight rip open again and give you pain.  This commonly last approximately 10-15 minutes in the morning.