Return the same pan to medium heat. Add the yellow onion and cook for 5-7 minutes or until it begins to soften. Next, Add the garlic and cook for 45 seconds or until fragrant. Then, add the butter. Once the butter is melted and frothy, add the tomatoes and cook for 5 minutes. Season everything in the pan with salt and pepper.