Because you didn't provide any relevant novel works or plots. In novels, whether a character knew the person they liked or not would usually be reflected in the plot or hinted by the character's dialogue or behavior. If you can provide the specific novel title or plot, I will be very happy to provide you with a more accurate answer.