Why politicians remember farmers only during elections?

Uddhav Thackeray has said that after completion of 100 days of his government, he will go to Ayodhya to pay homage to Ramlalla. He also visited Sidhi Vinayak temple after taking oath as chief minister. Nothing wrong in this. But why do politicians forget farmers, especially when they tout farmer distress as a key issue in an election?