The obstacles are placed to add challenge to your swim.  As you progress, obstacles will start populating more and more.