Inline styles have no support for media queries, container queries pseudo classes (hover, focus), pseudo elements (before) and attribute selectors. With tailwind I can even just stack them like this "lg:hover:px-[10px]".
Note that similarly to writing inline classes, if you need to refactor the css, you’d need to re-read and rewrite the class soup everywhere in your project.