Swapping out ‘like for like’sized bolts from steel to titanium alloy can cause flexure problems in highly loaded areas like fork crowns and stem clamps.
I experienced this first hand some years ago installing quality titanium bolts into a Thomson x4 stem and going to Woburn Sands. Despite being set at same torque, my Pro Atherton DH bars felt ‘flexible’, and made frightening creaking noises. I installed the original bolts when I got home and never experienced this problem again.
Steel and titanium bolt of same size / cross section; the steel bolt is stiffer (resistance to loading) meaning a titanium bolt may be a bad choice. Often with components fitted stock with titanium bolts, you’ll see a different size of bolt or longer thread depth.
I only use titanium for fixings like shifter / brake lever clamps, or pinch bolts on derailleurs.