Does it need to be a button? Not sure how the data is set up, but might be possible to use an inline list > tiles > background color is conditional of whether it’s right or wrong.
If not, you can use buttons, but you’ll instead have 8…one of each red/green. Then add visibility conditions to show the correct color based on the answer.