(this is a normal behaviour, ex. when the file was modified).
Since version 2021.1 I cannot close these tabs, neither the popup menu "close" or Ctrl+F4 will work
Note : I'm under Windows 10
The only solution I've found is to detach the tab in a separate window and then close the window.