For the Ramadan crescent, the legal question is when obligatory fasting begins. For the Shawwal crescent, it is when Ramadan ends and Eid begins.
Both consider sky conditions, but the permitted witness configurations differ in the two texts. The month cannot be ignored when applying the rule.