Google ads are based on the needs of web browser users. With the home page and category getting more traffic, it will be displayed first.
For posts, you need a minimum number of views to analyze google page as well as user behavior to display ads at the top of the article.