Why is my cake rising sideways while baking?
A cake baking uneven to that degree makes me thing the heat source is really uneven. One side of the oven is hot, the other is much cooler. I've seen a fan oven cause some uneven baking before but never to that degree. 


Make sure your oven is pre-heated for at least 10 to 15 minutes before baking
If you have fan oven and you have no non-fan mode try putting a piece of aluminum foil between the fan and the cake to deflect the hot air around it so the heat is even
If you are not using an oven make sure that the heat is even around the cake


EDIT: It's come to light that an air fryer was used to bake the cake. Air fryers come in several types, but they all work on the principle of blowing very hot air over food inside. This hot air comes from a vent, so the reason the cake is so uneven is that the side right by the vent is getting a blast of hot air while the other is relatively cool. I would suggest putting a piece of aluminum foil between the pan and the vent to deflect the blast of hot air and force it to circulate. Be sure not to block the vent though, you don't want to overheat the machine! 

Turning the cake is one option, although it could cause the cake to lose lift and collapse. I would try foil first and then try turning if you still get a very uneven result.