It's in the instructions for the calculation in Appendix A:
"In determining the total interest figure to be used in the formula, institutions shall assume that all principal and interest remain on deposit for the entire term and that no other transactions (deposits or withdrawals) occur during the term. This assumption shall not be used if an institution requires, as a condition of the account, that consumers withdraw interest during the term."
To determine the amount of interest that goes into the calculation, the core assumes that the interest is remaining in the account and compounding, not being withdrawn. The only time you don't do that is if the bank REQUIRES withdrawal of interest each month.
That's also the reason for the statement in the disclosures that the APY assumes that interest remains in the account until maturity.
_________________________
Nobody's perfect, not even a perfect stranger.