Attorneys representing groups that provide legal representation to unaccompanied immigrant children and a government attorney sparred Wednesday over whether the government is legally obligated to fund such legal counsel during a hearing on the groups’ motion for preliminary injunction in California federal court.