The second law of thermodynamics establishes restrictions on the flow of thermal energy between two bodies. This law states that the energy does not flow spontaneously from a low temperature object T1, to another object that is at a high temperature T2.
For example. Suppose you place your cell phone on the table. Your phone is at a temperature of 40 ° C and the table is at 19 ° C. Then, it is impossible for the table to spontaneously transfer its thermal energy to the telephone, and so that the table gets colder and the telephone warmer.
Finally we can say that the correct option is B: From the hotter object to the cooler object