When something frustrates/upsets someone and they can't fix it
My girlfriend has been having trouble with her herb garden, so she's been doing a lot of basil muttering.