Thanks for the quick reply.
Where is the database located? It has to be somewhere on my computer right? That’s why I thought time machine should catch everything.
UPDATE: I copied the XAMPP folder from several different time machine backups ranging from several months ago to the most recent one (last night).
Seems like WordPress never saved those changes (it saved other changes). How is this possible? When I logged into the website these past few days, those changes were there.