In reply to Gary Taylor.

When Gutenberg 9.6 landed, the Query block got the ability to inherit the archive query. There's an option named "Inherit query from the URL" in the block options sidebar panel. It will do just that. So, if you're editing an category template, for example, you could tick that option to show the correct posts for that category.

Themes will already have this block in place in their templates and configured to do this. You might not see it working correctly in some existing block-based themes yet since this just went in. They will probably need to be updated.