"Lucifer's Hammer" is about what happens after a huge natural disaster and how mankind struggles to stay alive and reorganize.

As I understand it "Footfall", having picked it up a few times without reading it, but answering entirely from memory is concerned with an alien invasion.