Why assembly election results spell introspection for both Congress and BJP

The Haryana and Maharashtra assembly election results have been a surprise for not only pollsters, but also the BJP and the Congress.