The bobber is turned sideways because it's downstream. A river can only really carry a certain size of waves upstream and if the current is too strong, the waves will be muted as some water particles go with it and the others are left behind. The bobber moves downstream in this case because on uneven parts of the water surface, there are areas that have more particles on them than others so flow is relatively uneven.