How can large government deficits lead to large trade deficits?

How can large government deficits lead to large trade deficits?