There are several reasons why your cupcakes deflated or sunk in the center. Your oven could be too hot, you could've overfilled the liners, or you may have added too much or too little baking powder.