It’s a feature of discourse where you are navigated to the last post you read on the topic. If you visit the topic for the first time then you are redirected to the topic content. If you want to navigate to topic content you can use topic-timeline (navigation for topic) to move back to the first post.
Also, you can use this component Scroll to Top Component to scroll back to the topic content.