I think they might be underdone. They look quite white. Try leaving them a bit longer in the oven the next time and see if that helps. I check each and every cupcake to see if it’s done or not when it comes out of the oven because whichever one is underdone sinks after a minute or two.
DISCLAIMER: Any posts on CD are posted by individuals acting in their own right and do not necessarily reflect the views of CD. CD will not be held liable for the actions of any user.