Yeah, they’re built to do that to a certain degree.
they try to minimize it with many newer buildings. look at 432 park ave in NY. They left many floors empty so that air could flow through them. They also have a huge mechanism that operates in a way so it doesn’t sway too much.