There could be multiple reasons but mostly if you use too much flour in the dough your muffins get hard. Another possible reason is your oven was not well preheated.