Based on the following sentence, what is the cause?

The spy discovered the enemy's location.

Select from the following.
1). The spy bugged the enemy's phone..
2). The spy was hired by the government..
1).