This is cosmetic but could confuse a new user.
Create a text frame
Type some text and make it Heading 1
Create another text frame
Type some more text and it will be Body of course, the default, but the Text Styles studio panel will indicate that it's Heading 1, the last style used in the previous text frame
Attached video shows the issue.
Screen Recording 2022-01-26 at 1.06.11 PM.mov