Answer
When the straight wire is bent into a loop, this concentrates the magnetic field lines inside the loop. The closer the magnetic field lines in a region of space, the stronger the magnetic field is there.
Work Step by Step
This is discussed on page 458, and illustrated in Figure 24.9.