te ha dado

has given you

→ te
phrase Common #9,314
has given you In the phrase “te ha dado por + infinitive,” it means “you’ve suddenly felt like” doing something.
SP: ¿Quién te ha dado este libro?
EN: Who gave you this book?

Este mundo ya te ha dado por muerta.

This world has already written you off.

— Pecadores (2025)

Bueno, Kris, ¿qué impresión te ha dado?

So, Kris, what impression did it give you?

— Solaris (1972)

Te ha dado un guardarropa nuevo.

You’ve been given a new wardrobe.

— Moulin Rouge, amor en rojo (2001)

¿Ahora te ha dado por leer?

Have you suddenly taken up reading?

— Haz lo correcto (1989)

"Cree que se te ha dado y se te dará."

He believes it’s been given to you and will be given to you.

— El sacrificio (1986)

Seguro que te ha dado él el dinero para que compres ¡estas porquerías!

He must have given you the money to buy this junk!

— El guardián invisible (2017)

Eywa aparentemente te ha dado la espalda, tú elegiste.

Eywa has apparently turned her back on you, you chose.

— Avatar: El camino del agua (2022)

¿No te ha dado miedo?

Weren't you scared?

— Devdas (2002)

Te ha dado tiempo a recoger.

Have you had time to tidy up?

— Jaula (2022)

Pero ¿qué te ha dado a ti ahora con la Sole!

But what’s with you and Sole all of a sudden!

— Volver (2006)