ATMega32, Using PORTA as digital io has digital "crosstalk"
Looks like capacitive crosstalk.  The internal pullups are not particularly strong so if the traces are next to each other it's possible for the changing voltage in one wire to couple to an adjacent wire.  I would suggest adding capacitors from the IO pins to ground near the microcontroller to help hold the state on the pins.  Probably standard 0.1 uF caps should be sufficient.  You could also try stronger external pullups.  If 10k doesn't work, then try 4.7k or 1k.