AND gate not giving correct output

I would go with the “pull down resistor on A has a bad connection” theory.

Also drop the pull down resistors to 470R or there abouts.