Creating multiple custom blocks in drupal 8
Thank you very much Shawn. 

It was the @Block annotation. I was using same id for both the blocks.

/**
  * @Block(
  *   id = "show_state",
  *   admin_label = @Translation("Show State"),
  *   category = @Translation("POP")
  * )
  */