It's because of the difference in chemical bonds. Inorganic compounds are mostly made of strong ionic bonds, which give them a very high melting and boiling point.
On the other hand, organic compounds are made of comparatively weak covalent bonds, which is the cause of their low melting and boiling point.