Ethanol is a polar molecule containing hydrogen bonds at the OH groups. These bonds are much stronger and therefore take much more energy to break, hence the higher melting and boiling points
Ethane on the other hand is non-polar as it is a hydrocarbon and only contains London Dispersion forces between molecules, which are the weakest of the intermolecular forces, meaning it is easy to break them.