WASHINGTON—Lawmakers are pushing for an aggressive inquiry into allegations that a firm tied to President Donald Trump’s presidential campaign gathered data from millions of Facebook Inc. profiles without authorization, calling for hearings and possible additional regulation of digital advertising.

Republican and Democratic lawmakers are calling for the top executives of tech companies—including Facebook, Alphabet Inc.’s Google and Twitter Inc.—to appear before Congress to explain how they protect user data from being exploited...