There are numerous reasons why you may not be getting stronger at the gym. Below are a few of the most common:
Consistency is probably the number one reason why people fail to see improvements from their routine. Be that strength, cardio, nutrition, etc. If you do not show up consistently, and in the case of strength, lift heavy objects, you will not get stronger. You have to consistently overload the muscles or they will not grow.
Not eating right
The next two reasons are related to one another to a certain point. If you are not eating enough food and the right foods, it will hinder your strength gains. Your body has to get adequate protein, carbohydrates, and fat to rebuild the muscle that you are breaking down via strength training. Aim for .75 to 1gram of protein, 1 to 2 grams of carbohydrates, and .3-.5 grams of fat per pound of body weight. (NOTE: you’ll have to find what works best for your goals; this is just a basic recommendation)
Another key reason that you are not getting stronger is that you aren’t recovering properly. Two things must occur for muscle growth to happen. One, you have to tear down the muscles by overloading them. Two, you have to have proper recovery from the strength session. That recovery involves multiple factors like nutrition, rest/sleep, and mobility work. The muscles have to have time to rebuild after they have been torn down. Tips: Try to get 8 hours of sleep per night and make sure you rest a couple days before overloading the same muscle group.
Hope this helps understand a few basic tenets of strength training. To summarize, in order to get stronger you have to train consistently, eat the right foods in the right amounts, and give your body time to recover.
Feel free to reach out to me if you would like more details.