Over a hundred people on a Google Product forum are reporting weird noises coming from Pixel 2 and 2 XL phones.
Source: CNet