It`s simple.
Not all producers, are talented DJ`s, not everyone can mix.
Many just aren`t interested in playing records, but get DJ work because of their releases.
But also this works the other way round.
Not all (in fact I would say very few) DJ`s make good producers. But because they can play 2 records in time they assume they can make good music.