Fix drywall painting disaster
Hard to tell if the defects were caused by the recent painting or were there before and now showing up because of a lighter color or different sheen. The "orange peel" effect starts out when the drywall is first sprayed with a primer and carries over each time the wall is painted. Any time you patch a hole or gouge with mud and then sand it, you smooth out the orange peel and when you paint over it you get what happened in your second picture. You can make it less obvious if you take a small brush, dip it in some mud and dap the sanded surface. Another technique is to apply the mud to the wall and lightly run a dry paint roller over it and blend it in . 

In your first picture it looks like there was an excess amount of paint left after a paint job and it just ran a bit... you can sand it down and then add the orange peel like I described above. 

If the defects are too numerous to fix and they will drive you nuts, one alternative is to sand the entire wall and remove all the old paint and then prime and repaint. the other alternative is to replace or add new drywall. Good luck.