Installation is a sequence
Every roofing system is built in a fixed order for a physical reason: deck, drip edge, underlayment, starter course, field shingles, valleys and flashing, then ridge cap. Skipping or reordering a step does not usually show up on day one. It shows up in year four, as a leak at a junction that was never properly tied in.