It depends a lot on the hackathon/what the judges are looking for. A few are run by technical people who pick the coolest technical architectures, a few are run by casual users who pick the best looking result.
The majority of the ones I’ve been in have tended to be run by people who judge based on their notion of how useful the app will be societally, with the tie breaking factor being the UI/architectural design.