Zhao Layue was fully aware that Nan Wang didn't like her.
To put it another way, Nan Wang had liked her very much at first, and she even wanted to take Zhao Layue as her disciple at the Inherited Sword Competition.
Nan Wang totally changed her attitude toward Zhao Layue when she chose to inherit the sword of Shenmo Peak.
Many people on the Green Mountain knew that Nan Wang didn't like the Immortal Jing Yang. She showed no respect for him. And she always called him by name instead of by "Young Senior Master".
Zhao Layue was the peak master of Shenmo. Though her Cultivation state was far inferior to Nan Wang's, their generational status was the same.
Since Nan Wang didn't like Shenmo Peak, it was natural that Zhao Layue didn't like Nan Wang either. This was Zhao Layue's temperament.