The attacker opened fire from a boat at a crowded waterfront bar in Southport, North Carolina, officials say.