Fights with SO

When I get in fights with my boyfriend i sometimes (for a split second) want to call it quits... But then I take my time and cool off and talk it out with him and regret even having that thought... Is anyone else like this? I know he loves me dearly and I love him too I just get so mad (it's any type of fight too like today he fought over what type of onion we should use in our food and I had that thought lol)