The boulders you can see in the this photograph were most likely deposited by glaciers quite some time ago. Boulders like these are pretty common throughout the glacially carved valleys and meadows in Yellowstone National Park.
Visuals From My World