Cómo ha podido

How could it have…?

→ cómo
phrase Uncommon #18,544
How could it have…? Used to express surprise or disbelief about how something happened or how someone did something. The following infinitive completes the phrase.
SP: ¿Cómo ha podido llegar tan tarde?
EN: How could he have arrived so late?

¿Cómo ha podido hacerme esto a mí?

How could they do this to me?

— Comer, beber, amar (1994)

¿Cómo ha podido ocurrir, Andrei?

How could this have happened, Andrei?

— El regreso (2003)

¿Cómo ha podido venir hasta aquí?

How did you manage to get all the way here?

— A Taxi Driver: Los héroes de Gwangju (2017)

¿Cómo ha podido entrar un trol?

How did a troll get in?

— Harry Potter y la piedra filosofal (2001)

¿Cómo ha podido?

How could they?

— El brazo de brillantes (1969)

¿Cómo ha podido cambiarlo?

How could he/she have changed it?

— Ratatouille (2007)

¿Cómo ha podido pasar esto?

How could this have happened?

— ¡Vivir! (1994)

¿Cómo ha podido darle justo ahí?

How could he have hit it right there?

— The Host (2006)