Answer
The government gets its power to regulate potential mergers from antitrust laws, such as the Sherman Antitrust Act.
Work Step by Step
A good reason for two firms to merge is that the firms would incur lower costs via a more efficient production from both firms.
A bad reason for two firms to merge together is that of gaining market power (removing one firm from the market), which would likely increase prices and decrease consumer surplus.