What is the difference between technical and on-page SEO?
Technical SEO is about whether Google can reach and understand a page at all. On-page SEO is about whether that page is the best answer once it does.
Read the detail
A page blocked from Google, sent through a broken redirect, or buried with no links pointing to it will not rank, however well it is written. That is technical SEO.
A page Google can read perfectly can still lose if its title is vague, its headings say nothing, or it never answers the question the customer typed. That is on-page SEO. Most sites need some of each.