The position of element A is first group i.e. alkali metals whereas element B belongs to other groups.
It is because alkali metals reacts violently with water that leads to little explosion and also produced hydrogen gas while on the other hand, element B belongs to next groups in the periodic table. The reactivity of element A is higher than element B due to lack of one electron in the outermost shell which make it highly reactive as compared to element B which is less reactive in nature.
https://brainly.com/question/24466280