Judges are dismissing on "standing" and "latches". These are judicial backdoors for avoiding cases that judges don't want to try. Just because a judge is appointed by a power doesn't mean that judge is loyal to that power or will pursue that power's interests. Judges are notoriously averse to populist movements, and these particular judges have been using standing and latches like a shield to avoid being entangled in controversial disputes. Here's a good podcast about it if you have the time.