The company’s lawsuit against the SEC reached a pivotal moment as judges questioned the agency’s decision-making.