The reason why the tail lights don’t work when the headlights are turned on is similar to the ones for brake lights not working. Do the same diagnosis and fix the underlying issue behind it.