Why was yellow journalism ues in the 1890s?

Yellow JOurnalism made it so that it encouraged people to join the war and it was all dependent on what it was for. if it was for foreign reasons they would use cuba in the journalism.