Looking at your circuit, you appear to have connected the two 5V relays in series via a series resistor to 5V. This way, each relay will get less than 2.5V at its coil, why did you do that?.
Usually a relay with a 5V coil is connected directly to the supply if this is also 5V. There's no need for a dropping resistor, the relay's coil has sufficient resistance if its rated for this voltage.
If you have two relays, which should switch on at the same time as per your motor reversing circuit, just connect the coils in parallel without the resistor.
You could do this reversing with just one relay if you can find one that has DPDT contacts.
Klaus