It can happen if you have overmixed the batter. We need to mix the ingredients properly and not make it smooth. Otherwise, the muffins will come out dry and denser than required. Or you may have even overbaked them.