Forbidden romance (trope)
From Book Trigger Warnings
The "forbidden romance trope" is when two (or more) characters want to be together but know that their romance is probably not the best idea.
For a list of books on BTW with this trope, click here.