Form 1041 capital gains distribution

I am filing my 2022 form 1041.  On schedule B, lines 6&7, the capital gains is not part of the distributable net income.  The capital gains were reported on my 1099-div, Box 1D and were part of the income I received from the trust.  Why is this so?  It doesn't make any sense to me.

 

Thanks in advance for shedding some light on this subject.