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.
Sameen, Baked In Caked Out, https://www.facebook.com/bakedincakedout