My four month old was doing the same thing and I thought it was a collapsed trachea, so the vet x-rayed. Sure enough he swallowed something. So they operated and found pieces of a pacifier that were to big to pass. He still gasps for air though. That was 2 weeks ago.