How Does an SPV Wallet Trust the Block Headers It Receives?
An SPV wallet trusts the block headers it receives by connecting to multiple full nodes and checking for consistency. It assumes that a majority of the full nodes it connects to are honest and will provide the correct longest chain of block headers.
By observing the difficulty of the chain and ensuring the Merkle Root is present in the header, the SPV wallet gains probabilistic trust. It does not perform the full verification of every transaction, but rather relies on the network's consensus mechanism to secure the header's integrity.