The biggest thing is that flat rate doesn’t do is anticipate risk. If through nobody’s ill intent a task takes 5x longer or 5x less, it’s all swallowed up by the flat rate.
That’s a feature for a productized service.
It also works for well-scoped tasks. I wouldn’t pay someone by the hour to cut the grass.