How can someone bake to identical cakes and one comes out okay and edible and the other one doesn't?

If someone made 2 identical cakes and one was not great but it was edible another cake came out inedible looked a little raw in certain spots but really wasn't and tasted like flour and was hard What could be the issue?

2021-01-08T18:25:09Z

Cooked on the same shelf with same temp and how would that make the cake taste more floury and dense?

?2021-01-04T03:10:42Z

Maybe they were on different shelves in the oven?. 

kswck22021-01-03T13:16:26Z

Conventional ovens have hot spots and cold spots, and cycle on and off rather than just stay on full blast.. So even if baked in the same oven, one cake would be baked at a different temperature that the other. 
This would be my guess. About the only way to figure it our would be with several oven thermometers in different places in the oven for a test run at different temperatures. 

idegia1012021-01-03T01:50:18Z

I'm responding to people here because for some reason now who answers turned off the commenting function. This was not a cake baked from a box it was done by scratch and one cake was put in the oven then the other cake was made and put in the oven on the same rack next to the other cake one apparently was edible the other one was in edible tasted like too much flour as well as it looked around the middle but it's really not. Also temperature in the oven was the same one was cooked almost all the way and while it was cooking the other one was being made and the oven doors opened for a second and the other cake was put in and cooked for the same amount of time on the same rack at the same temperature. The only cake I know that would ruin if it was in an oven and the door kept opening is something like a souffle where it might deflate This is not that kind of cake It won't be affected that much by the oven being opened once to slip another cake in next to it.

Nikki P2021-01-02T20:13:19Z

Were they baked at the same time or different times? 
The temperature of the oven could have been off. 
If they were made at different times it is possible that an ingredient was omitted or possibly doubled. 
If it was from a cake mix (box mix) it is possible that the ingredients in the box mix was off, either the fats became rancid, the baking powder was not active. 
If they were baked at the same time it is possible that one in the oven was not getting the air circulation that the other one did. 

Ghost Of Christmas Past2021-01-02T16:41:28Z

The temperature in the oven varies.