What are the potential consequences of political leaders openly criticizing constitutional bodies like the Election Commission?

Recently, there have been public criticisms of the Election Commission by political figures. I want to understand how such actions could affect the credibility, independence, and functioning of constitutional bodies.