I don't know about costs but phosphorus is a limited resource and more than 70 percent of the world's supply of phosphates is controlled by one country: Morocco.
Some estimates put "Peak Phosphorus" as early as 2030 but unsurprisingly, that claim is highly contested.