The key to moist cupcakes is not over-mixing the batter once the flour is added, as over-mixing can develop the gluten too much and make the cupcakes tough. Additionally, ingredients like buttermilk and eggs add moisture and fat, which help keep the cupcakes tender.