The correct option is A Be
All alkaline earth metals form hydrides on reacting with H2 except Be. This is due to the less electropositive character of Be. On going down the group the electropositive character increase hence other alkaline earth metals forms hydride with H2.
M+H2→MH2
where, M = Mg, Ca, Sr, Ba
Theory
Reactivity towards hydrogen:
All group 2 elements except Be combine with H2 upon heating to form their corresponding hydrides, MH2
M+H2⟶MH2
BeH2 can be prepared by the reaction of BeCl2 with LiAlH4 .
2BeCl2+LiAlH4⟶2BeH2+LiCl+AlCl3
Alkaline earth metals readily react with acids liberating dihydrogen.
M+2HCl⟶MCl2+H2