Since you provide no options, Henry Moseley measured a property linked to Periodic Table position. After his revisions to the periodic table, Atomic number became more meaningful and the three pair of elements that seemed to be in the wrong order could be explained
Heat always flows from hot to cold. The aluminum is hotter than the water in the cup so the answer is 2: The heat is transferred from the aluminum to the water, and the temperature of the water increases.