It does take a little experimentation when baking with gluten free flours, since gluten is what typically makes flour doughy and rise in the oven. This article from Very Well Fit does a great job at explaining some key differences. Since almond flour is a little denser than AP flour or something of the like, combining it with a softer flour (like oat flour) helps these almond butter muffins feel lighter and fluffier.