Why did India suddenly ban wheat exports?

India previously said it was ready to help fill some of the supply shortages caused by the February invasion of Ukraine, which had accounted for 12 percent of global exports.

Why did India suddenly ban wheat exports?
India previously said it was ready to help fill some of the supply shortages caused by the February invasion of Ukraine, which had accounted for 12 percent of global exports.