Why a Lerp function with two materials in A & B changes material color in A input ?

I use a Lerp function with two materials in A & B as inputs, but in output, the material A color is modified. Do you have a solution for this issue ?

The problem dissapered with no reasons appearing so…