The White House’s chief medical adviser said as in the early months of COVID-19, learning about transmission will help contain monkeypox.