Por qué invitaste a

why did you invite …

→ por
phrase Rare #44,899
why did you invite … The examples use different forms of the verb invit​ar; invitaste addresses one person informally. The a before a person is the personal a and is not translated into English.
SP: ¿Por qué invitaste a Laura a cenar?
EN: Why did you invite Laura to dinner?

¿Por qué invitaste a Tom a cenar?

Why did you invite Tom to dinner?

¿Por qué invitaste a Tom a la cena?

Why did you invite Tom to dinner?

¿Por qué invitaste a esa mujer a comer un sushi tan costoso?

Why did you invite that woman out for such expensive sushi?

— Decision to Leave (2022)

¿Por qué invitaste a Tom a la fiesta?

Why did you invite Tom to the party?