"Page cache maximum age" is set to "no caching" but the block seems to be cached
To disable caching of the block add this to the php code:

  $build['#cache']['max-age'] = 0;
  \Drupal::service('page_cache_kill_switch')-&gt;trigger();


This is a similar question Caching of blocks for anonymous user