Relation between the keV-MeV and TeV emission of GRB 221009A and its implications