This critical element has been crucial to farming—and is also responsible for causing massive toxic algae blooms.