Lava and magma are hot and dry. Nearby heat prevents water from hydrating farmland, allowing vanilla farmland random ticks to dry it gradually.