Hello!
The answer would be phishing.
Explanation, if you’d like to read it:
Phishing is when an attacker poses as a trustworthy entity via a fake or deceptive email, phone call, or other message in order to trick a user into revealing sensitive information (like a password, as mentioned in your question).
I hope that this helps you!