what is harder to do ?

How hard it is to break up depends how invested one was in the relationship and all the trappings that go along with it and in some cases how dangerous it is to do so.

Asking someone out depends entirely on how much of a wuss one is. The hard part for many is actually accepting rejection or the potential of rejection.
 
Getting rejected sucks but the feeling passes faster. So harder to break up in my opinion. More hurt even if it’s for the best.
 
I'd have to agree that breaking up is the harder of the two. People face rejection every day outside of relationships so to me that makes it easier to deal with compared to the alternative.