Replacing the handlebar grips with ergonomic ones?
It is a little hard to tell from your photos, but do you have grip shifters?

For setups with grip shifters, the grips are generally much shorter / narrower, as part of the "grip surface" is the shifter itself.

If you do indeed have grip shifters, you can do as ojs suggested &amp; move the shifters / brakes in towards the stem, or, you could return the grips you purchased &amp; get something sized properly to work with grip shifters.

Notice the difference in width of these grips:


The ones on the left are made to work with trigger shifters, while the  ones on the right are made to work with grip shifters. For reference, some examples of grips meant for use with grip shifters can be found here.

(Edit: I'd avoid the thread spool idea. Go over an unexpected bump while resting on the bar ends &amp; they pop off because they were secured with a thread spool... loose control &amp; crash!!)