Unless you select specific roof(s) that you want involved in the trimming, then all roofs that touch your wall are considered. With a shed dormer side-wall, you'll want to select the lower roof and trim the bottom, then select the upper roof and trim the top.
Karl
One of the forum moderators
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB