Sometimes it's because there are nonmarket goods involved--the high value people place on personal safety, national security, a clean environment, or social welfare.
371538
People value national security and personal safety very highly.
371539
Clean environments and social welfare aren't goods that people place a high value on.