On every USB hub there's power limit. You can lok it up in Device Manager In previous Windows versions you were able to look it up in Device Manager for USB controllers or hubs, but now I looked into Win10 and can't see it anymore. And ports -> controller assotiation should be explained in MB manual, so likes of external spinning HDD and RGB keyboard may overpower one of controllers. Luckily, there's always more than one of them in system, so moving your keyboard to different port is an option here.
EDIT:
Just to add - nowadays with high power charging on USB it has way less of an impact, but sometimes on less expensive boards it can catch you unaware. Looked up your MB and it looks like it may have less than ideal power delivery system..