Drinking laying down

Can drinking laying down for toddlers really cause ear infections? My little one always has to have drinking while falling asleep even if it’s a little bit of water. And I worry about him getting ear infections.