Certified GKH Gardening Expert
Unfortunately, your photo did not come through. It is likely not the cause. It probably doesn't help, though.
Likely, under the tree, rain will not evaporate as fast as in the open. That may be what is causing the spots in your lawn.
Walnuts are also notorious for killing off certain plants and grasses, though.
Here is an article that will help: