Think of each element’s electronic configuration before asking this question. Oxygen’s got 6 valent electrons while carbon has only 4. Therefore, when combined with oxygen. Carbon atoms shares its electron with oxygen as well as the other two. So after that carbob has got a completely filled octet. The same happens to oxygen. They can get each other’s electrons and total receiving equals 2. Hence a -2 change.