Yes or No button selected but not saved as recorded

I am recording a flow where the user would select a Yes or No button however some of them seem to work when I run them separately but for some of them the click is not saving if that makes sense. In other words, when I recorded the test I select ‘Yes’ button and the inspector finds that element but when I run the script it does not show