Maryland’s tax on digital advertising unlawfully discriminates against electronic commerce and violates the commerce clause of the U.S. Constitution, Apple told the Maryland Tax Court during oral arguments Thursday.