Routers process ACL rules from top to bottom. The first matching rule determines the action. No further rules are checked after a match. This first-match behavior means rule order matters.
If you have:
access-list 101 deny ip 10.0.0.5 0.0.0.0 any
access-list 101 permit ip 10.0.0.0 0.0.0.255 any
Host is denied because that rule appears first. Place more specific rules before general ones, or traffic won't be filtered as you expect.