Hello,
Then 10.0.5.2 may not have reverse route for 10.0.8.0/24 subnet but 10.0.5.1 appears to have it.
What are 10.0.5.1 & 10.0.5.2 devices & can you check how 10.0.5.1 learns the route for 10.0.8.0/24 & then do the same for 10.0.5.2?
Regards,
Rushi