The discussions to place Japan under embargo started after the Nanjing Massacre which happened in 1937. The agreement to start the embargo was reached before the outbreak of the war
Furthermore, the occupation of French Indochina was a consequence of the embargo, which already began because it was officially declared. Therefore it is not a reason for the embargo.