What criterion are you using to make this distinction?
Drinking straws are rivalrous and excludable. Defence isn’t. Roads only become rivalrous when the traffic is congested, and while in principle they’re excludable in practice the cost of operating toll booths is sometimes a huge fraction of the tolls, so to a zeroth approximation they’re a transfer from drivers to toll booths operators with the time spent by the latter as a deadweight loss.
Drinking straws are rivalrous and excludable. Defence isn’t. Roads only become rivalrous when the traffic is congested, and while in principle they’re excludable in practice the cost of operating toll booths is sometimes a huge fraction of the tolls, so to a zeroth approximation they’re a transfer from drivers to toll booths operators with the time spent by the latter as a deadweight loss.