Game theory. If the idea occurred to you, then one can almost guarantee it will eventually occur to others - and to someone at your competitor.
With that understanding, there's only one rational course of action: to secure your supply before they do, and your competitor realized all this.
The only real decision to make is whether to risk the more aggressive move of also locking up your competitor's supply.