How does this logic work?

 

v20240901