Morocco emerged 2-1 winners over Argentina in a game marred by crowd trouble, with the men's Olympic football getting underway.