An important question to answer before you take your photo: What is the subject? and then, How do the other elements in the image contribute to the subject and help tell the story.
For example, in the first image the flag is the subject. But, what do the other elements in the photo contribute? What are those metal bars in the left? What are those things on the right? I am confused as to what they tell us about the flag. Why is the flag on a slant? Is the stand or whatever it is holding it up important/ It is unclear as to what the stand is?
Rather than a background that is included just because that it was there, think about what is in the background that is important for us to see? Does it contribute to the main subject or should it just be a blur as with a shallow depth of field. That is why cgipson1 found those elements "distracting". They don't seem in any way related to the importance of the flag.