If the plan is to scrap the rocket no matter whether it succeeds or fails, does it cost anything? All of these seem like data gathering missions to me.
I think the issue you seem to be missing is that the marginal cost of materials that go into building a rocket is very low. The fuel cost is similarly a small percentage of the cost of building a rocket. The cost comes from the large workforce required and the low flight rate.
SpaceX has built and scrapped 17 Starships, 14 of them without even a static fire. They have scrapped four Super Heavy boosters, three of them without firing.
Test flights require fuel, planning, approval, and of course flight hardware. None of that is free.