Why an apple takes more time to rod when its expose to air?

Because apples need to breathe, they are alive when in air. Why are you so foolish thinking that an apple will live when you suffocate it?

But my apples keep comitting suicide for some reason. They rot even if I don't eat them.

I give them all my love and care but they still rot. I never took a bite out of them.