Researchers and regulators are working to understand the causes of earthquakes and leaks linked to oilfield wastewater.