A button's label and its real destination can differ. HTTPS encrypts the connection, including on fake sites.
Example
A button labelled “Open my bank” points to an address you do not recognise.
Why it’s dangerous
Button text and a lock icon do not tell you who runs the destination site.
What to do
Close the page and check whether it downloaded anything or gained permissions. If you entered a password, change it on the official site. If you gave card details, call your bank.
How to avoid it
Read the visible destination. For sign-in and payments, use a known app or bookmark. Stop if the browser shows a certificate warning.