What is the name of LiH?
When hydrogen combines with any metal then the name of hydrogen changes to hydride and the name of metal remains the same.
In this case hydrogen is more electronegative than the metal and get an electron from metal. As a result H becomes negative ion. That's why H should be written on right side.