Sure, but that methane + CO2 has been in a steady cycle (cow -> air -> grass -> cow) and fairly constant quantity (before mass agriculture there were e.g. numerous bisons in the US), so they’re not contributing to “global warming” (i.e. a rise in temperature).
All of that warming is caused by fossil fuels.