They ask people about how happy they are and why they are happy, that's how they compile the list (as far as I know).
Financial security makes people happy, being able to afford traveling and fun activities makes people happy, living in nice conditions makes people happy. There's a whole lot of research and common sense supporting the idea that a surplus of money increases happiness.