A couple of thoughts... Check in Device Manager to ensure it has sound drivers loaded. Second thought: where are you plugging them in? In some PCs, only the front or the back speaker ports are enabled - but often not both. Have you tried them in the 'other' ports?
Huawei P10 review