Via an article about Heinlein and L. Ron Hubbard & Manson:

Each of these books spoke to a desire for an alternative reality, just as older social norms were breaking down.