Surely you mean to ask if the 150 ohm resistors are there for no apparent reason...??
The 330 ohm resistors are current-limiting the LEDs. When the MCU pins are high or low, the LED to GND (via 330 ohm) or to VCC (via the other, not shown) lights up.
And, the 150 ohm resistors I believe are there to shunt the LEDs when the MCU pins are tristated, so that the LEDs don't quite light up. 150 seems awfully low for this, but I think that is the purpose.
Tim