I just had the same issue on my 2018 Fuel EX after about 6 months of solid use. Creaking / clicking sound started infrequently one day, but by the next ride was constantly making noises whenever under load and particularly bad when pedalling out of the saddle. It was obviously not anything to do with saddle rails or seat post (which is where I always had noises on my old bike), so started process of elimination.
I was sure it was coming from the BB area, but read some other forums which said check the headset area first, so I took apart headset, removed handlebars and stem, cleaned and re-greased / re-applied carbon paste to everything, but to no avail.
Thought that it must be the BB, so took bike to LBS and paid for them to remove and re-install BB and cranks (as I don’t have a bearing press to properly remove / install press fit BB) – that did not fix it.
It was only after I had done this that I found this forum (and a couple others) that explained the various tests you should do on the bike when stationary. Could not hear any noise until I sideloaded the cranks (which indicates creak in linkage / pivot bolts). Sure enough, after removing, cleaning and re-greasing linkage and pivot bolts, bike is silent again.