Because I want to share my solution to some problem or issue I've had; and personally I dont think committing to something comes with that?
Haven't you ever used a software that is FOSS? Didn't you enjoy the feeling that "aaah someone made this and it solved my problem in zero time - thanks universe/person!". Well sometimes it's nice to give back if/when you can.