WATCH: Doctors, lawyers testify on Texas abortion law in House Judiciary hearing

Doctors, lawyers and advocates testified Thursday before the House Judiciary Committee about how the Texas abortion law is affecting communities and families.

Watch the hearing in the player above.

A majority of the Supreme Court signaled Monday they would allow abortion providers to pursue a court challenge to the controversial Texas law that has virtually ended abortion in the nation’s second-largest state after six weeks of pregnancy.

But it was unclear how quickly the court would rule and whether it would issue an order blocking the law that has been in effect for two months, or require providers to ask a lower court to put the law on hold.

WATCH: 2021 saw a record number of abortion restrictions enacted

Justices Brett Kavanaugh and Amy Coney Barrett, two conservative appointees of former President Donald Trump, voted in September to allow the law to take effect, but they raised questions Monday about its novel structure. The law, written to make it difficult to mount legal challenges, subjects clinics, doctors and any others who facilitate abortions to large financial penalties.

“Millions and millions retroactively imposed, even though the activity was perfectly lawful under all court orders and precedent at the time it was undertaken, right?” Kavanaugh asked, one of several skeptical questions he put to Judd E. Stone II, representing Texas.

Barrett, too, pressed Stone about provisions of the law that force providers to fight lawsuits one by one and, she said, don’t allow their constitutional rights to be “fully aired.”

The justices heard three hours of arguments Monday in two cases over whether abortion providers or the Justice Department can mount federal court challenges to the law, which has an unusual enforcement scheme its defenders argue shields it from federal court review.

The Biden administration filed its lawsuit after the justices voted 5-4 to refuse a request by providers to keep the law on hold. Justice Neil Gorsuch, also a Trump appointee, and two other conservative justices joined Barrett and Kavanaugh in the majority to let the law take effect. Chief Justice John Roberts joined the court’s three liberal justices in dissent.

The justices sounded less convinced that the Justice Department lawsuit should go forward, and Justice Elena Kagan suggested that a ruling instead in favor of the providers would allow the court to avoid difficult issues of federal power.

In neither case argued Monday is the right to an abortion directly at issue. But the motivation for the lawsuits is that the Texas law conflicts with landmark Supreme Court rulings that prevent a state from banning abortion early in pregnancy.