Well in a sense you are right that it is lazy, in that it would be quite a lot of work to disentangle those parts.
So they could probably do it, but it would be costly, while just releasing the TF2 code is basically free.
So they could probably do it, but it would be costly, while just releasing the TF2 code is basically free.