Generative modeling of density regression through tree flows