Most likely a hardware problem as in that you have insufficient current for the relays.
Only you know what you have.
.