Lifting later in the day or evening, especially without eating a meal afterwards, can do this, as it interrupts the habitual hormonal cycle that allows one to sleep at night. Cortisol, for example, is ideally lowest before bed after supper, but exercise causes acute spikes in both cortisol and adrenaline which massively increase alertness and disable the ability to relax while their influence is dominant. Fasting also increases these hormones but more slowly than exercise, and balanced meals with adequate carbohydrates cause decreases in the alertness-inducing stress hormones. The summary of the opposing influences is to create a natural cycle where fasting from sleep normally causes the highest point of cortisol and adrenaline in the morning, and each meal following waking up proceeds to lower them more and more until cortisol reaches its lowest point at night after supper.
Either acute exercise at the wrong time, the wrong type of exercise, or a refusal to replenish fuel stores and lower stress after exercise are all ways to throw a wrench into this plan. Acute exercise is ideally done in the morning after breakfast, but failing that it can probably be done successfully shortly after lunch in certain contexts. Exercise right before supper is not ideal in the long run, and the worst sin against sleep is to exercise, starve, and lay in bed restless. The wrong kind of exercise would be that which induces chronic elevation of the stress hormones, usually by chronic, overwhelming increases of free fatty acids into the bloodstream which cumulatively damage the metabolism to the point of causing insomnia. The textbook example is breathless, endurance running, but any anaerobic exercise done long enough will eventually cause hypothyroidism and a dominating influence of stress hormones.
One of the ways meals and carbohydrates cause relaxation is by increasing levels of T3 while providing fuel to store as glycogen, but a metabolism damaged by the wrong type of exercise, lifestyle, or diet is unable to produce enough T3 to relax and oppose other hormonal forces. In this perspective, supplementation of T3 - especially with supper, if not a little with each meal - can restore a healthy sleeping pattern, and is a very reasonable treatment option when one doesn't understand how to otherwise fix the underlying causes of the problem but is still in need of relief sooner rather than later.
To those without access to T3, there are many mundane, over-the-counter alternatives that have properties similar to T3. One of which is caffeine. Although it is frequently mischaracterized as a substance only capable of creating alertness and inducing adrenaline, it is actually a plant analog to thyroid hormone. Frequent caffeine consumers are noted for their "tolerance" of larger amounts than casual consumers and will frequently report that they don't feel much from a cup of coffee or two. The reality is that in the beginning, caffeine consumption flushes fat from the liver which interferes with the oxidative metabolism of glucose while simultaneously using up available glucose causing a stress reaction. In the long term as caffeine is repeatedly consumed, the liver becomes less and less fat, able to produce more T3 on its own, and able to store more glucose as glycogen so caffeine ultimately promotes a healthy metabolism that is in a more suitable position for relaxation.
Effects of caffeine on anterior pituitary and thyroid function in the rat.
https://www.ncbi.nlm.nih.gov/pubmed/6104718
Chronic caffeine intake increases androgenic stimuli, epithelial cell proliferation and hyperplasia in rat ventral prostate
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3521899/