Normally I hate dense tropes with a burning passion but in this case its fully justified and they even expressed properly why the fmc would think like this.
The only one at fault is the prince for never treating her right and noone would think he liked her until this point.