Think of it as reversed.

When 9004 is on Low beam the 9007 will be on High beam
When 9007 is on Low beam the 9004 will be on High beam