I open source as many parts of my paid projects as i can so that I'm not forced to reinvent the same wheel i made through a previous employer.
This makes me more productive perceptually since i bring value from my previous positions. Others could as well, but aren't as versed with my creations as i am.
So why do my current employers give to my next? It's a perk choosing them nothing.