Hosts
One of the biggest differences between bed bugs or fleas comes down to who they prefer to bite. Bed bugs strongly prefer humans and will rarely feed on animals if people are nearby. Fleas, on the other hand, prefer furry animals like cats and dogs but will bite humans when their preferred host is not available.
This means If your pet is scratching constantly, fleas are the more likely culprit whereas if you are waking up with bites but your pets seem fine, bed bugs are more probable. If you do not have pets, a flea infestation is much less likely.
Keep in mind that bite reactions vary from person to person. Some people show no visible reaction to bed bug bites at all, while others develop red, itchy welts. Bites alone are not a reliable way to identify which pest you have, so always look for other signs of an infestation.