Why is California prone to mudslides?

After this historic rain in LA, nearly 500 mudslides were reported. Why is California so prone to mudslides, and how can we protect communities?