AA battery vs AAA battery - amperage and voltage
The obvious guess would be that your AAA battery holder has the batteries wired in series, so you're getting an output of ~3V, where the AA battery holder has the batteries wired in parallel, so it's producing ~1.5V output (with higher current capability, which probably doesn't make much difference in this case).